import myutil.MyInput;
public class SwitchCase {

	public static void main(String[] args) {
		SwitchCase swc = new SwitchCase();
		swc.finalize();
		System.out.println(swc.getClass().getName());
		while(true){
			System.out.println("Enter the number (-1 for exit)");
			int c = MyInput.readInt();
			if(c ==-1) break;
			switch (c){
			case 1160 :
				System.out.println("This is my 12th mark : "+c);
				break;
			case 1000 :
				System.out.println("This is my 10th mark : "+c);
				break;
			default:
				System.out.println("I never got this mark : "+c);
			}
		}
        System.out.println("Program Ends");
	}
	
	public void finalize(){
		System.out.println("Called finalize");
	}

}
